package com.sora.user.service;

import com.sora.user.domain.User;
import com.sora.basic.service.IBaseService;

import javax.mail.MessagingException;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Àgä±
 * @since 2023-02-07
 */
public interface IUserService extends IBaseService<User> {

    void phoneRegister(Map<String, String> map);

    void emailRegister(Map<String, String> map) throws MessagingException;

    void emailActive(Integer state,String email);
}
